package com.example.demo.gateway.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

@Table
@Data
public class GatewayUpstream {

    @Id
    private Long id;
    private String serviceId;
    private String host;
    private Integer port;
    private String protocol;
    private Integer weight;
    private String healthCheckUrl;
    private String metadata;

}
